<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>UI伪类选择器</title>
  <style>
    input:checked {
      width: 100px;
      height: 100px;
    }
    input:disabled {
      background-color: gray;
    }
    input:enabled {
      background-color: green;
    }
  </style>
</head>
<body>
  <input type="checkbox">
  <input type="radio" name="gender">
  <input type="radio" name="gender">
  <input type="text">
  <input type="text" disabled>
</body>
</html>